home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 41.zip
/
BS1 part 41
/
Lattice C v5.02 d2.adf
/
CompactH
/
libraries
/
dos.h
< prev
next >
Wrap
Text File
|
1988-10-27
|
3KB
|
31 lines
LIBRARIES_DOS_HLIBRARIES_DOS_HEXEC_TYPES_H"exec/types.h"DOSNAME "dos.library"DOSTRUE (-1L)DOSFALSE (0L)MODE_OLDFILE 1005MODE_NEWFILE 1006MODE_READWRITE 1004OFFSET_BEGINNING -1OFFSET_CURRENT 0OFFSET_END 1OFFSET_BEGINING OFFSET_BEGINNINGBITSPERBYTE 8BYTESPERLONG 4BITSPERLONG 32MAXINT 0x7FFFFFFFMININT 0x80000000SHARED_LOCK -2ACCESS_READ -2EXCLUSIVE_LOCK -1ACCESS_WRITE -1
DateStamp{
ds_Days;
ds_Minute;
ds_Tick;
};TICKS_PER_SECOND 50
FileInfoBlock{
fib_DiskKey;
fib_DirEntryType;
fib_FileName[108];
fib_Protection;
fib_EntryType;
fib_Size;
fib_NumBlocks;
DateStamp fib_Date;
fib_Comment[80];
fib_Reserved[36];
};FIBB_SCRIPT 6FIBB_PURE 5FIBB_ARCHIVE 4FIBB_READ 3FIBB_WRITE 2FIBB_EXECUTE 1FIBB_DELETE 0FIBF_SCRIPT (1<<FIBB_SCRIPT)FIBF_PURE (1<<FIBB_PURE)FIBF_ARCHIVE (1<<FIBB_ARCHIVE)FIBF_READ (1<<FIBB_READ)FIBF_WRITE (1<<FIBB_WRITE)FIBF_EXECUTE (1<<FIBB_EXECUTE)FIBF_DELETE (1<<FIBB_DELETE)
¥¡;
¥BSTR;°OBSOLETE_LIBRARIES_DOS_HBADDR(bptr) ((()bptr)<<2)BADDR(x) (()(()x<<2))
InfoData{
id_NumSoftErrors;
id_UnitNumber;
id_DiskState;
id_NumBlocks;
id_NumBlocksUsed;
id_BytesPerBlock;
id_DiskType;
¡id_VolumeNode;
id_InUse;
};ID_WRITE_PROTECTED 80ID_VALIDATING 81ID_VALIDATED 82ID_NO_DISK_PRESENT (-1)ID_UNREADABLE_DISK ((()'B'<<24)|(()'A'<<16)|('D'<<8))ID_DOS_DISK ((()'D'<<24)|(()'O'<<16)|('S'<<8))ID_NOT_REALLY_DOS ((()'N'<<24)|(()'D'<<16)|('O'<<8)|('S'))ID_KICKSTART_DISK ((()'K'<<24)|(()'I'<<16)|('C'<<8)|('K'))ERROR_NO_FREE_STORE 103ERROR_TASK_TABLE_FULL 105ERROR_LINE_TOO_LONG 120ERROR_FILE_NOT_OBJECT 121ERROR_INVALID_RESIDENT_LIBRARY 122ERROR_NO_DEFAULT_DIR 201ERROR_OBJECT_IN_USE 202ERROR_OBJECT_EXISTS 203ERROR_DIR_NOT_FOUND 204ERROR_OBJECT_NOT_FOUND 205ERROR_BAD_STREAM_NAME 206ERROR_OBJECT_TOO_LARGE 207ERROR_ACTION_NOT_KNOWN 209ERROR_INVALID_COMPONENT_NAME 210ERROR_INVALID_LOCK 211ERROR_OBJECT_WRONG_TYPE 212ERROR_DISK_NOT_VALIDATED 213ERROR_DISK_WRITE_PROTECTED 214ERROR_RENAME_ACROSS_DEVICES 215ERROR_DIRECTORY_NOT_EMPTY 216ERROR_TOO_MANY_LEVELS 217ERROR_DEVICE_NOT_MOUNTED 218ERROR_SEEK_ERROR 219ERROR_COMMENT_TOO_BIG 220ERROR_DISK_FULL 221ERROR_DELETE_PROTECTED 222ERROR_WRITE_PROTECTED 223ERROR_READ_PROTECTED 224ERROR_NOT_A_DOS_DISK 225ERROR_NO_DISK 226ERROR_NO_MORE_ENTRIES 232RETURN_OK 0RETURN_WARN 5RETURN_ERROR 10RETURN_FAIL 20SIGBREAKB_CTRL_C 12SIGBREAKB_CTRL_D 13SIGBREAKB_CTRL_E 14SIGBREAKB_CTRL_F 15SIGBREAKF_CTRL_C (1<<SIGBREAKB_CTRL_C)SIGBREAKF_CTRL_D (1<<SIGBREAKB_CTRL_D)SIGBREAKF_CTRL_E (1<<SIGBREAKB_CTRL_E)SIGBREAKF_CTRL_F (()1<<SIGBREAKB_CTRL_F)